<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <title>认证管理</title>
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <link rel="stylesheet" href="../../../component/elementUI/index.css" />
    <link rel="stylesheet" href="../../../style/index.css" />
    <style>
      .el-table th {
        text-align: center !important;
      }
    </style>
  </head>

  <body>
    <div id="app" class="minWidth">
      <!-- <el-form :inline="true" :form="form">
      <el-form-item>
        <el-select placeholder="请选择认证类型" clearable filterable v-model.trim="form.Enterprise_Type">
          <el-option label="个人商家" value="0"></el-option>
          <el-option label="企业商家" value="1"></el-option>
        </el-select>
      </el-form-item>
      <el-form-item>
        <el-button type="primary" @click="onSerach">查询</el-button>
      </el-form-item>
    </el-form> -->

      <el-table
        :cell-style="{'text-align': 'center'}"
        :data="tableData"
        stripe
        border
        height="calc(100vh - 140px)"
        style="width: 100%"
      >
        <el-table-column label="序号" width="50" type="index"></el-table-column>
        <el-table-column prop="" label="营业执照" width="150">
          <template v-slot="{row}">
            <el-image
              style="width: 100px; height: 100px; border-radius: 9px"
              class="el-upload-list__item-thumbnail"
              :src="Domain_Business + row.Picture_URL"
              :preview-src-list="[Domain_Business + row.Picture_URL]"
              fit="contain"
            ></el-image>
          </template>
        </el-table-column>
        <el-table-column
          width="200"
          prop="Enterprise_Info_SerialNumber"
          label="社会统一信用代码"
        ></el-table-column>
        <el-table-column prop="Enterprise_Name" label="企业名称" width="250">
        </el-table-column>
        <el-table-column label="企业地址" prop="Enterprise_Address" width="550">
        </el-table-column>
        <!-- <el-table-column
          width="150"
          prop="Enterprise_Phone"
          label="申请人手机号"
        ></el-table-column> -->
        <el-table-column
          width="200"
          prop="Operation_Datetime"
          label="认证时间"
        ></el-table-column>
        <el-table-column
          prop="Row_Status"
          label="标签"
          width="100"
          :filters="[{ text: '待审核', value: '88' }]"
          :filter-method="filterTag"
          filter-placement="bottom-end"
        >
          <template slot-scope="scope">
            <el-tag
              :type="scope.row.Row_Status === '88' ? 'danger' : 'danger'"
              disable-transitions
              >{{scope.row.Row_Status == "88" ? '待审核' : '待审核'}}</el-tag
            >
          </template>
        </el-table-column>
        <el-table-column label="操作">
          <template slot-scope="scope">
            <el-button size="mini" @click="handleEdit(scope.$index, scope.row)"
              >查看</el-button
            >
          </template>
        </el-table-column>
      </el-table>
      <el-pagination
        background
        v-show="total > 0"
        @size-change="handleSizeChange"
        @current-change="handleCurrentChange"
        :current-page="form.page"
        :page-sizes="[10, 20, 30, 50]"
        :page-size="form.limit"
        layout="total, sizes, prev, pager, next, jumper"
        :total="total"
      >
      </el-pagination>
    </div>
    <script
      type="text/javascript"
      src="../../../utils/jquery-3.6.0.min.js"
    ></script>
    <script
      type="text/javascript"
      src="../../../utils/jquery.cookie.js"
    ></script>
    <script type="text/javascript" src="../../../utils/vue.min.js"></script>
    <script
      type="text/javascript"
      src="../../../component/elementUI/index.js"
    ></script>
    <script type="text/javascript" src="../../../utils/utils.js"></script>
    <script type="text/javascript" src="./js/Authentication.js"></script>
  </body>
</html>
